package com.hafu.model;

import java.math.BigDecimal;

public class SpInfo {
    private int id;
    private String Name;
    private BigDecimal price;
    private BigDecimal sell_price;

    public SpInfo(int id, String name, BigDecimal price, BigDecimal sell_price) {
        this.id = id;
        Name = name;
        this.price = price;
        this.sell_price = sell_price;
    }

    public SpInfo() {
    }

    public SpInfo(String name, BigDecimal price, BigDecimal sell_price) {
        Name = name;
        this.price = price;
        this.sell_price = sell_price;
    }

    public SpInfo(String name) {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getSell_price() {
        return sell_price;
    }

    public void setSell_price(BigDecimal sell_price) {
        this.sell_price = sell_price;
    }
}
